import Layout from '@/layout'
//协议,政策
const contentRouter = {
  path: '/agreement',
  component: Layout,
  redirect: '/agreement/agreementList',
  name: 'agreement',
  meta: {
    title: '内容',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'agreementList',
      name: 'AgreementList',
      component: () => import('@/views/agreement/list'),
      meta: {
        title: '协议管理',
        icon: 'clipboard'
      }
    },
    {
      path: 'agreementCreat/:id?',
      name: 'AgreementCreat',
      component: () => import('@/views/agreement/edit'),
      meta: {
        title: '添加文章',
       noCache: true, activeMenu: `/agreement/agreementList`
      }
    },
    /*
    {
      path: 'classifManager',
      name: 'classifManager',
      component: () => import('@/views/content/articleclass/list'),
      meta: {
        title: '文章分类',
        icon: 'clipboard'
      }
    }*/
  ]
}

export default contentRouter
